import 'package:json_annotation/json_annotation.dart';

part 'second_discount.g.dart';

@JsonSerializable(explicitToJson: true)
class SecondDiscount {
    SecondDiscount();

    int id;
    int storeId;
    int userId;
    int discountId;
    int secondType;
    int discountRate;
    int reductionCount;
    int commodityId;
    int skuId;
    String ctime;
    String utime;
    String discountName;
    
    factory SecondDiscount.fromJson(Map<String,dynamic> json) => _$SecondDiscountFromJson(json);
    Map<String, dynamic> toJson() => _$SecondDiscountToJson(this);
}
